package STUDENT.TranMinhVu.OOPS;

public class Controllers {
	private Models m_objModel;

	// Cach 1
	public boolean CheckUserInfo(UserObject objUser){
		//Khoi tao doi tuong Models
		m_objModel = new Models();
		//Dieu huong thuc thi nghiep vu kiem tra tk
		if(m_objModel.Kiemtrataikhoan(objUser)){
			if(m_objModel.KiemtrasoduTK(objUser)){
				if(m_objModel.KiemtraTTkichhoatTK(objUser)){
					if(m_objModel.Kiemtraloaigiaodich(objUser)){
						return true;
					}return false;
				}return false;
			}return false;
		}return false;
	}
}
